package com.lcredu.aop.proxy;

/**
 * @author 黎长容
 * @date 2025-07-15 12:38
 */
public class SmartAnimalTest {
    public static void main(String[] args) {
        SmartAnimal smartAnimal = new SmartDog();

        SmartAnimal smartAnimalProxy = new SmartAnimalProxy(smartAnimal).getSmartAnimalProxy();

        smartAnimalProxy.getSub(Integer.parseInt("03"), 2);
        System.out.println("==============================");
        smartAnimalProxy.getSum(3, 2);

        System.out.println("ok!");
    }


}
